package com.lbmb.mdps.workbench.service;

import com.lbmb.mdps.commons.domain.SupplierVo;
import com.lbmb.mdps.commons.domain.WarehouseReceive;
import com.lbmb.mdps.commons.domain.WarehouseVo;
import com.lbmb.mdps.commons.exception.WarehouseException;
import com.lbmb.mdps.workbench.domain.Warehouse;

import java.util.List;

/**
 * @author 林文塨
 * @date 2022-05-30 23:11
 * description
 */
public interface WarehouseService {

    List<Warehouse> warehousePageList(WarehouseReceive warehouseReceive) throws WarehouseException;

    Integer getWarehouseTotal(WarehouseReceive warehouseReceive) throws WarehouseException;

    void addWarehouse(Warehouse warehouse) throws WarehouseException;

    void editWarehouse(Warehouse warehouse) throws WarehouseException;

    void deleteWarehouse(String[] deleteWarehouseIds) throws WarehouseException;

    List<WarehouseVo> getAllWarehouse();
}
